import request from '@/utils/request'

const getMenus = ()=> { return request.get('api/public/menus/get') }
const postMenus = (data)=> { return request.post('api/public/menus/post', data) }
const delMenus = (id)=> { return request.delete(`api/public/menus/del/${id}`) }
const putMenus = (data)=> { return request.put('api/public/menus/update', data) }

export default {
    getMenus,
    postMenus,
    delMenus,
    putMenus
}